import { Tag } from "./tag";

export interface Blog {
	id: number;
	title: string;
	author: string;
	classify: string;
	blog_image: string;
	blog_read: number;
	blog_like: number;
	content_text: string;
	content_html: string;
	blog_collect: number;
	top: number;
	visible: number;
	createdAt: string;
	updatedAt: string;
	tags: Tag[];
}

export interface BlogMd {
	content_html: string;
	content_text: string;
}

export interface Subfield {
	id: number;
	name: string;
	description: string;
	createdAt: string;
	updatedAt: string;
	blogCount?: number;
}
